<%= form_for @video do |f| %>
  <p>
    <%= f.label :title %>
    <%= f.text_field :title, :class => "ValidField"%>
  </p>
  <p>
    <%= f.label :embedded_code %>
    <%= f.text_area :embedded_code, :class => "ValidField" %>
  </p>
	<% if params[:action] == "new" || params[:action] == "create"%>
    <%= f.hidden_field :video_album_id, :value => params[:id]%>
  <% end %>
  <p><%= f.submit %></p>
<% end %>
